//
//  TODOError.swift
//  TODOApp
//
//  Created by chenyh on 2018/5/24.
//  Copyright © 2018年 chenyh. All rights reserved.
//

import Foundation
enum TODOError: Error {
    static let domain = "com.todo.error"
    var domain: String {
        return self.domain
    }
    var localizedDescription: String {
        switch self {
        default:
            return ""
        }
    }
    
    var message: String {
        switch self {
        default:
            return ""
        }
    }
    
    
    
}
